package com.jymj.service;

import com.jymj.entity.CjEntity;
import com.jymj.entity.zjd.ZjdCountEntity;
import com.jymj.entity.zjd.ZjdSqEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by dl on 2019/10/16.
 */
public interface ZjdSqService {
    List<ZjdSqEntity> queryList(Map<String, Object> params);

    int queryTotal(Map<String, Object> params);

    ZjdSqEntity queryObjectByylId(Integer objectid);

    List<ZjdSqEntity> queryListById(Integer[] ids);

    void deleteBatch(Integer[] ids);

    ZjdSqEntity queryObject(Integer id);

    boolean queryAllFile(Integer status, List<Integer> zjdSqFileIds);

    int update(ZjdSqEntity zjdSqEntity);

    void updateYl(Integer ylId, Integer sptype);

    boolean queryCount(Integer sptype, Integer id);

    CjEntity queryXzq(String geom);

    void save(ZjdSqEntity zjdSqEntity);

    List<ZjdSqEntity> queryTypeCount(String xzqmc, Integer type);

    ZjdCountEntity queryAllCount(String point, String code);
}
